#!/usr/bin/env python
# -*- coding: UTF-8 -*-
#
# Copyright [Gtlions Lai].
# Create Date:
# Update Date:
__authors__ = '"Gtlions Lai" <gtlions.l@qq.com>'

"""用一行文字概述模块或脚本,用句号结尾.

主要功能描述.

  ClassFoo: 类概述.
  functionBar(): 函数概述.
"""

class stuInfo:
    def __init__(self, id, name, age):
        self.id = id
        self.name = name
        self.age = age
    def showInfo(self):
        print 'info is :' + self.id + ',' + self.name + ',' + str(self.age)
list =[]
list.append(stuInfo('0', 'gtlions', 18))

for i in list:
    i.showInfo()
